pkgname=device-samsung-maguro
pkgver=2
pkgrel=10
pkgdesc="Google Galaxy Nexus (GSM)"
url="https://github.com/postmarketOS"
arch="noarch"
license="MIT"
depends="linux-firmware linux-samsung-tuna mkbootimg"
makedepends=""
install=""
subpackages=""
source="
	deviceinfo
	bcmdhd.cal
	90-android-touch-dev.rules
"
options="!check"

package() {
	install -D -m644 "$srcdir"/deviceinfo \
		"$pkgdir"/etc/deviceinfo
	install -D -m644 "$srcdir"/bcmdhd.cal \
		"$pkgdir"/etc/wifi/bcmdhd.cal
	install -D -m644 "$srcdir"/90-android-touch-dev.rules \
		"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
}

sha512sums="aa0f09fe3c32dc19ff7f012c6ee5a32bdfb333e45ed78ed2074371a520fbd1d2a8d8a24a004e948082b3cc2d9374c5f86427f3b27d8dc1a69d9666966977cfc8  deviceinfo
27e89ef3102a89e99065ea12cd36d8ebe1c7e95f2f7082c0e7e3e280fcd2473aa197538bae18ac8995ddf3a7dd962622a56a6f0c037ad193fa9bba95bbb7ee9c  bcmdhd.cal
f8c85b0ffcee751ee30d5f1fd8ed8e8413d9599875839fbc9bcfd85f08dbf203fecbd171fc3fe4e2742c5b8243132f6110142ff41193d6ad7df29b411516e199  90-android-touch-dev.rules"
